package http;

import java.util.Map;
import bean.Cfpb;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface RetrofitApi {
    @FormUrlEncoded
    @POST("server/ServerSvlt?")
    Call<ResponseBody> getResponse(@FieldMap Map<String , String> params);

    @FormUrlEncoded
    @POST("server/ServerSvlt?")
    Call<Cfpb> getCfpb(@Field("State") String state, @Field("Ssql") String sql);
}
